package cn.edu.fjzzit.web.myhotel.mapper;

import cn.edu.fjzzit.web.myhotel.dto.FreeRoomDTO;
import cn.edu.fjzzit.web.myhotel.model.RoomPriceInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoomPriceInfoMapper {
    int insert(RoomPriceInfo record);

    /**
     *
     * @param roomTypeNum
     * @return
     */
    List<FreeRoomDTO> queryByRoomTypeNum(@Param("roomTypeNum")Long roomTypeNum);
}
